import { defineStore } from 'pinia'
import type { AddAttrData } from '@/views/product/attr/model'

const initState = {
  isEdit: false,
  attrData: {} as AddAttrData,
}

export const useAttrstore = defineStore('attr', {
  state: () => initState,
})
